home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19960715-19961006 / 000253_news@columbia.edu _Mon Aug 26 11:52:06 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: news@columbia.edu
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30]) by watsun.cc.columbia.edu (8.7.5/8.7.3) with ESMTP id LAA21924 for <kermit.misc@watsun.cc.columbia.edu>; Mon, 26 Aug 1996 11:52:05 -0400 (EDT)
  3. Received: (from news@localhost) by newsmaster.cc.columbia.edu (8.7.5/8.7.3) id LAA16387 for kermit.misc@watsun; Mon, 26 Aug 1996 11:52:04 -0400 (EDT)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: Sun Solaris to DEC VAX transfer problems
  8. Date: 26 Aug 1996 15:51:43 GMT
  9. Organization: Columbia University
  10. Lines: 41
  11. Message-ID: <4vsh6f$bob@apakabar.cc.columbia.edu>
  12. References: <321FBC8B.751B@bell-atl.com>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <321FBC8B.751B@bell-atl.com>,
  16. Richard W. Austin <richard.w.austin@bell-atl.com> wrote:
  17. : I have got an "expect" script that I am using to send a file from my
  18. : local Sun Solaris machine to a DEC VAX.  The expect script is wrapped
  19. : inside a shell script that will redial the connection up to three times
  20. : if it could not connect previously.
  21. : The expect script logs into the VAX fine, but then the problems begin.
  22. : Once connected to the VAX, the expect script starts receiving garbage
  23. : from the remote end (I'm guessing that the VAX is probing to find out
  24. : the local terminal type).  I get around this by sending a few
  25. : carriage-returns and waiting for the "$" prompt.
  26. : I then start Kermit and set the escape sequence to "set escape 005".  I
  27. : then do a "receive <filename>" and then try to escape back to the local
  28. : session to "send" the file.  I can never escape back to do the "send",
  29. : which is my problem. I send the escape in expect as:
  30. : send "\005c"
  31. : However it just doesn't seem to cut it.  This exact script works
  32. : properly when I send data to another Unix machine (HP) and to the IBM
  33. : mainframe.
  34. C-Kermit comes with a manual that answers your question.  Please read the
  35. chapters (three of them) on script programming.  You don't need a shell
  36. script, you don't need an expect script.  C-Kermit does it all very simply
  37. in an integrated, straightforward way.  It even comes with scripts to do
  38. exactly what you want -- i.e. dial up and log in to a VMS system.  Just use
  39. them.
  40.  
  41. By the way, version 6.0 of C-Kermit, which is in Beta testing, redials
  42. automatically, as many times as you want.  You don't even NEED a script,
  43. it just does it.
  44.  
  45. See our Web page about where to get manuals, current or Beta versions of
  46. the software, etc:
  47.  
  48.   http://www.columbia.edu/kermit/
  49.  
  50. - Frank